#ifndef RIVER_HPP_INCLUDED
#define RIVER_HPP_INCLUDED

#include <boost/shared_ptr.hpp>

#include <vector>

#include "heightmap.hpp"
#include "river_fwd.hpp"
#include "tile_corner_logic.hpp"

namespace hex {

class river {
public:
	explicit river(const std::vector<corner_location>& locs);
	void draw() const;
	const std::vector<corner_location>& locs() const { return locs_; }
	void do_erosion(heightmap& heights);
private:
	std::vector<corner_location> locs_;
	std::vector<GLfloat> depths_;
};

}

#endif
